package com.mano.mall.gateway.handler;

import com.netflix.zuul.context.RequestContext;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

public interface GatewayHandler {
	/**
	 * Handler处理器
	 */
	public void service(RequestContext ctx, HttpServletRequest req, HttpServletResponse response);

	/**
	 * 指向下一个Handler
	 */
	public void setNextHandler(GatewayHandler nextGatewayHandler);
}
